updating oE log10

log10

include math.e 
namespace math 
public function log10(object x1) 

returns the base 10 logarithm of a number.

Parameters:
  1. value : an object, each atom of which will be converted, no matter how deeply nested.
Returns:

An object, the same shape as value. When value is an atom, raising 10 to the returned atom yields value back.

Errors:

If any atom in value is not greater than zero, its logarithm is not a real number and an error occurs.

Comments:

This function may be applied to an atom or to all elements of a sequence.

log10 is proportional to log by a factor of 1/log(10), which is about 0.435 .

Example 1:
a = log10(12) 
-- a is 2.48490665 
See Also:

log

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu